package com.qfedu.yanglao20admin.inform.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yujie
 * @data 2023/5/2 19:55
 */
@ApiModel("告警纪录数据统计信息")
@Data
public class CountAlarmRecordVO implements Serializable, Cloneable {

    @ApiModelProperty("告警时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date alarm;

    @ApiModelProperty("每日的告警次数")
    private Integer countRecord;
}
